﻿<link href="@Url.Content("~/content/activitie_detail.css")" rel="stylesheet" type="text/css"/>

@model IEnumerable<PessModel.GetExpertGroupList_Result>

@{
    ViewBag.Title = "评委组";
}

<div id="m-title">
    <h2>评委组</h2>
    <div id="m-op">@Html.ActionLink("评委列表", "Index", "ExpertJudge", new { activityID = ViewBag.ActivityID }, null)</div>
</div>
<fieldset>
    <div class="m-sd-xx m-sd-title">
        <div class="title">
            创建评委组 
        </div>
        <div class="sidebd">
            @using (Html.BeginForm("CreateConfirmed", "ExpertGroup"))
            {
                @Html.Hidden("activityID", (int)ViewBag.ActivityID)
                <span>评委组名称：@Html.TextBox("Callsign", null,new {@class="u-it"})</span>@*学科组：@Html.DropDownList("SubjectID",(SelectList)ViewData["Subjects"])</div>*@
                <input type="submit" value="新建" class="u-btn" />
            }
        </div>
    </div> 
</fieldset>

<fieldset>
    <div class="m-sd-xx m-sd-title">
        <div class="title">
            评委组列表
        </div>
        <div class="sidebd">
            <table id="callsignList" class="f-tb-pt">
                <tr>
                    <th>
                        @*@Html.DisplayNameFor(model=>model.Callsign)*@评委组名称
                    </th>
                    <th>
                        评委组ID
                    </th>
                    <th>
                        @*@Html.DisplayNameFor(model=>model.LeaderID)*@组长ID
                    </th>
                    <th>
                        @*@Html.DisplayNameFor(model=>model.MemberCount)*@成员人数
                    </th>
                    <th></th>
                </tr>

                @foreach (var item in Model)
                {
                    <tbody>
                        <tr>
                            <td>
                                @Html.DisplayFor(modelItem => item.Callsign)
                            </td>
                            <td>
                                @Html.DisplayFor(modelItem => item.ExpertGroupID)
                            </td>
                            <td>
                                @Html.DisplayFor(modelItem => item.LeaderID)
                            </td>
                            <td>
                                @Html.DisplayFor(modelItem => item.MemberCount)
                            </td>
                            <td class="thAction">
                                @*@Html.ActionLink("Edit", "Edit", new { id=item..ID })*@
                                @Html.ActionLink("详细", "Details", new { id = item.ExpertGroupID }, null)
                                @Html.ActionLink("删除", "Delete", new { id = item.ExpertGroupID })
                            </td>
                        </tr>
                    </tbody>
                }

            </table>
        </div>
</fieldset>